import { AnimationClip } from "cc";
import { State } from "../../Base/State";
import { StateMachine } from "../../Base/StateMachine";
import { SubStateMachine } from "../../Base/SubStateMachine";
import { SPIKES_COUNT_ENUM, DIRECTION_ORDER_ENUM, PARAMS_NAME_ENUM, SPIKES_COUNT_NUM_MAP_ENUM, SHAKE_TYPE_ENUM } from "../../Enums";
import SpikesSubStateMachine from "../../Base/SpikesSubStateMachine";

const BASE_URL = 'texture/spikes/spikesone';

export default class SpikesOneSubStateMachine extends SpikesSubStateMachine {
    constructor(fms: StateMachine) {
        super(fms);

        this.stateMachines.set(SPIKES_COUNT_ENUM.ZERO, new State(fms, `${BASE_URL}/zero`));
        this.stateMachines.set(SPIKES_COUNT_ENUM.ONE, new State(fms, `${BASE_URL}/one`));
        this.stateMachines.set(SPIKES_COUNT_ENUM.TWO, new State(fms, `${BASE_URL}/two`));
    }
}